package org.zht.dormpro.dorm.service;

import org.zht.dormpro.auth.bean.PageBean;
import org.zht.dormpro.dorm.bean.StudentDTO;
import org.zht.dormpro.dorm.model.TbStudent;

import java.util.List;
import java.util.Map;

public interface IStudentService {
    boolean addStudent(TbStudent student) throws Exception;

    boolean deleteStudent(Integer stuId) throws Exception;

    boolean updateStudent(TbStudent student) throws Exception;

    TbStudent getStudentFromMap(Map<String, Object> studentMap);

    List<StudentDTO> getStudentListByCondition(PageBean pageBean);
}
